<?php
/**
 * @Name: StatusRequest.php
 * @Author: yashuai<1762910894@qq.com>
 */

namespace App\Http\Requests;

use App\Http\Requests\PackingRequest;

class StatusRequest extends PackingRequest
{

    public function rules()
    {
        return [
            'ID'     => 'required|integer',
            'Status' => 'required|integer',
        ];
    }

    public function messages()
    {
        return [
            'ID.required'     => '缺少记录ID参数',
            'ID.integer'      => '记录ID参数类型异常',
            'Status.required' => '缺少状态参数',
            'Status.integer'  => '状态参数类型异常',
        ];
    }

}
